package com.yipei.business.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yipei.business.domain.MlTradeEntrustOrder;
import com.yipei.common.core.domain.entity.MlTradeAccount;

/**
 * 委托订单Mapper接口
 * 
 * @author yipei
 * @date 2024-12-21
 */
public interface MlTradeEntrustOrderMapper extends BaseMapper<MlTradeEntrustOrder>
{
    /**
     * 查询委托订单
     * 
     * @param id 委托订单主键
     * @return 委托订单
     */
    public MlTradeEntrustOrder selectMlTradeEntrustOrderById(Long id);

    /**
     * 查询委托订单列表
     * 
     * @param mlTradeEntrustOrder 委托订单
     * @return 委托订单集合
     */
    public List<MlTradeEntrustOrder> selectMlTradeEntrustOrderList(MlTradeEntrustOrder mlTradeEntrustOrder);

    /**
     * 新增委托订单
     * 
     * @param mlTradeEntrustOrder 委托订单
     * @return 结果
     */
    public int insertMlTradeEntrustOrder(MlTradeEntrustOrder mlTradeEntrustOrder);

    /**
     * 修改委托订单
     * 
     * @param mlTradeEntrustOrder 委托订单
     * @return 结果
     */
    public int updateMlTradeEntrustOrder(MlTradeEntrustOrder mlTradeEntrustOrder);

    /**
     * 删除委托订单
     * 
     * @param id 委托订单主键
     * @return 结果
     */
    public int deleteMlTradeEntrustOrderById(Long id);

    /**
     * 批量删除委托订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMlTradeEntrustOrderByIds(Long[] ids);
}
